import request from '@/utils/request'

// 查询字典与诊疗项目对照列表 (分页)
export function selectPageDictVsClinic(query) {
    return request({
        url: '/system/dictVsClinic/selectPage',
        method: 'get',
        params: query
    })
}

// 查询字典与诊疗项目对照列表 (不分页)
export function listDictVsClinic(query) {
    return request({
        url: '/system/dictVsClinic/list',
        method: 'get',
        params: query
    })
}

// 查询字典与诊疗项目对照详细
export function getDictVsClinic(baseDictId) {
    return request({
        url: '/system/dictVsClinic/' + baseDictId,
        method: 'get'
    })
}

// 新增字典与诊疗项目对照
export function addDictVsClinic(data) {
    return request({
        url: '/system/dictVsClinic',
        method: 'post',
        data: data
    })
}

// 修改字典与诊疗项目对照
export function updateDictVsClinic(data) {
    return request({
        url: '/system/dictVsClinic',
        method: 'put',
        data: data
    })
}

// 删除字典与诊疗项目对照
export function delDictVsClinic(baseDictId) {
    return request({
        url: '/system/dictVsClinic/' + baseDictId,
        method: 'delete'
    })
}
